<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>

    <form action="#" method="post">
        <p>昵称：<input type="text" name="username" placeholder="please enter username" required></p>
        <p>电话：<input type="tel" name="phoneNumber" placeholder="please enter phoneNumber" required></p>
        <p>密码：<input type="password" name="password" placeholder="please enter password" required></p>
        <p>年龄：<input type="number" name="age" placeholder="please enter age"></p>
        <p>邮箱：<input type="email" name="email" placeholder="please enter email" required></p>
        <p>
            性别：
            <label> <input type="radio" name="sex">男</label>
            <label> <input type="radio" name="sex">女</label>
        </p>

        <p>
            爱好：
            <label><input type="checkbox" name="favor">足球</label>
            <label><input type="checkbox" name="favor">篮球</label>
            <label><input type="checkbox" name="favor">羽毛球</label>
            <label><input type="checkbox" name="favor">乒乓球</label>
        </p>

        <p>
            <input type="submit" value="注册">
            &nbsp;&nbsp;&nbsp;&nbsp;
            <a href="#">我已有账号，直接登录</a>
        </p>


    </form>

</body>

</html>